package com.university.mentalhealthplatform.studentV3.repository;

import com.university.mentalhealthplatform.appModels.Message;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.UUID;

public interface MessageRepositoryV3 extends JpaRepository<Message, Long> {
    List<Message> findByStudentId(UUID studentId); // 根据学生ID获取留言


}

